Repository navigation
fabric: extract standalone sparkring_fabric package & decouple libsircl - #411
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Decouple SparkRing's reusable switchless ring & open-chain routing/relay plane (
routes.py+fabric/+mesh_marker.c) and Gen-4libsircl/tools/site_routes.pyfrom the legacy Gen-3 Pythonspark_transport/sircl/tree (CuTe-DSL + vLLM launcher).What Changed
sparkring_fabric/package: Extractroutes,budget,subset,site, andfabric/(layouts,plan,commands,state,diff,ops,report,cli,mesh_marker.c) intosparkring_fabric/with PEP 621pyproject.toml(sparkring-fabricCLI) and zero imports fromsparkring_sircl,vllm,torch, orruntime/.spark_transport/sircl/sparkring_sircl/): Replaceroutes.pyandfabric/*.pywith thin re-export shims so all existing Gen-3 callers and tests keep working unchanged.libsircl(spark_transport/libsircl/tools/site_routes.py): Importsparkring_fabric.routesdirectly with zero dependency onspark_transport/sircl/.scripts/check_repository_layout.py,scripts/build_deb.py): Registersparkring_fabric/in repo layout validation and the default.debruntime manifest.Verification
pytest: 92 passed acrosssparkring_fabric/tests(incl. import-boundary test),test_site_routes.py,test_build_deb.py,test_ci_checks.py, andruntime/host/test_relays.py; 1,093 passed / 0 failed inspark_transport/sircl.gcc -std=c11 -O2 -Wall -Wextra -Werror sparkring_fabric/sparkring_fabric/fabric/mesh_marker.cclean; realpipwheel installs of bothsparkring-fabricandsparkring-sirclverified CLI + shims.5f04686a:check_repository_layout.py,check_release_safety.py .(0 findings),check_markdown_links.py ., andruff checkall exit 0.Risks / Follow-Ups
spark_transport/sircl/remains intact via thin shims and can be archived cleanly once no active profiles rely on it.